public class work3 {
    public static void main(String[] args) {
        int j=0;
        for (int i= 1;i<=99;i++){
            j=j+i;
        }
        System.out.println("总和为"+j);
    }
}
